package cn.wang.service;

import cn.wang.pojo.SpecGroup;
import cn.wang.pojo.SpecParam;

import java.util.List;

public interface ISpecificationService {
    List<SpecGroup> queryGroupsByCid(Long cid);

    int saveGroup(SpecGroup group);

    int UpdateGroup(SpecGroup group);

    int deleteGroupById(Long gid);

    Integer saveParam(SpecParam specParam);

    Integer deleteParamByPid(Long pid);

    Integer updateParam(SpecParam specParam);

    List<SpecParam> queryPrams(Long gid, Long cid, Boolean searching);

    List<SpecGroup> queryGroupsAllByCid(Long cid);
}
